import request from '../utils/request.js'

export function getUserById(uid) {
  return request({
    url: 'user/getUserById?uid=' + uid
  })
}

export function editPass(data) {
  return request({
    url: 'user/editPassword',
    method: 'post',
	data
  })
}

export function updateUser(data) {
  return request({
    url: 'user/editUser',
    method: 'post',
	data
  })
}